package com.maybach.workflow.common.api.enums;

/**
 * Created by houenxun on 15/10/23.
 */
public enum FlowActTypeEnum {

    startFlow("startFlow", "发起流程"),
    pass("pass", "审核通过"),
    reject("reject", "审核拒绝"),
    cancle("cancle", "撤销流程"),
    close("close", "关闭流程"),  // 流程非正常终结
    pause("pause", "暂停流程"),
    resume("resume", "从暂停中恢复流程"),
    finish("finish", "完成流程");

    private String code;
    private String desc;

    private FlowActTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
